gtk4.git
6 years agoUpdate Galician translation
Fran Dieguez [Wed, 25 Dec 2019 04:05:00 +0000 (04:05 +0000)]
Update Galician translation

6 years agoUpdate Galician translation
Fran Dieguez [Wed, 25 Dec 2019 03:16:43 +0000 (03:16 +0000)]
Update Galician translation

6 years agoMerge branch 'print-dialog-fixes' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 17:41:38 +0000 (17:41 +0000)]
Merge branch 'print-dialog-fixes' into 'master'

Print dialog fixes

See merge request GNOME/gtk!1268

6 years agoAdwaita: update the README
Matthias Clasen [Tue, 24 Dec 2019 17:29:38 +0000 (12:29 -0500)]
Adwaita: update the README

6 years agoHighContrast: print dialog fixes
Matthias Clasen [Tue, 24 Dec 2019 17:29:16 +0000 (12:29 -0500)]
HighContrast: print dialog fixes

Fix up the paper drawing.

6 years agoAdwaita: print dialog tweaks
Matthias Clasen [Tue, 24 Dec 2019 17:28:45 +0000 (12:28 -0500)]
Adwaita: print dialog tweaks

Fix up the paper drawing.

6 years agoprint dialog: Fix up page drawing
Matthias Clasen [Tue, 24 Dec 2019 17:28:00 +0000 (12:28 -0500)]
print dialog: Fix up page drawing

This fixes up page drawing enough to appear properly
with the builtin themes.

6 years agoMerge branch 'widget-factory-fixes' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 15:08:15 +0000 (15:08 +0000)]
Merge branch 'widget-factory-fixes' into 'master'

Widget factory fixes

See merge request GNOME/gtk!1267

6 years agowidgetfactory: Undo more builder-tool damage
Matthias Clasen [Tue, 24 Dec 2019 14:59:23 +0000 (09:59 -0500)]
widgetfactory: Undo more builder-tool damage

The two volume buttons are supposed to be
vertically arranged.

6 years agoFix the build
Matthias Clasen [Tue, 24 Dec 2019 14:58:56 +0000 (09:58 -0500)]
Fix the build

6 years agoMerge branch 'gtk-demo-fixes' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 08:47:28 +0000 (08:47 +0000)]
Merge branch 'gtk-demo-fixes' into 'master'

Gtk demo fixes

See merge request GNOME/gtk!1266

6 years agotreeview: Fix embedding cell renderers
Matthias Clasen [Tue, 24 Dec 2019 08:39:02 +0000 (03:39 -0500)]
treeview: Fix embedding cell renderers

We need to manually set up the css node,
since the treeview has children whose css
node is not a direct child of the treeview
css node (header buttons).

6 years agocell renderer spin: Bring this back
Matthias Clasen [Tue, 24 Dec 2019 08:33:02 +0000 (03:33 -0500)]
cell renderer spin: Bring this back

GtkSpinButton lost its cell editable implementation
when it stopped being a GtkEntry subclass. Add it
back, and make it work.

6 years agocell renderer text: Fix this to work again
Matthias Clasen [Tue, 24 Dec 2019 08:13:58 +0000 (03:13 -0500)]
cell renderer text: Fix this to work again

We were showing the entry, and removing it right
away when the focus moved to the text child.
Avoid that.

6 years agopaper dialog: Make this look less horrible
Matthias Clasen [Tue, 24 Dec 2019 08:12:30 +0000 (03:12 -0500)]
paper dialog: Make this look less horrible

6 years agoaccelgroup: Fix a buffer overrun
Matthias Clasen [Tue, 24 Dec 2019 04:17:29 +0000 (23:17 -0500)]
accelgroup: Fix a buffer overrun

gtk_accelerator_parse_with_keycode can
overrun its buffer for certain inputs.

Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/2325
6 years agoMerge branch 'drop-GtkTreeViewPrivate' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 03:49:48 +0000 (03:49 +0000)]
Merge branch 'drop-GtkTreeViewPrivate' into 'master'

tree-view: Drop GtkTreeViewPrivate

See merge request GNOME/gtk!1240

6 years agoMerge branch 'drop-gtk-tree-selection-private' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 03:48:18 +0000 (03:48 +0000)]
Merge branch 'drop-gtk-tree-selection-private' into 'master'

tree-selection: Drop GtkTreeSelectionPrivate

See merge request GNOME/gtk!1256

6 years agoMerge branch 'wip/oholy/placesview-default-location' into 'master'
Matthias Clasen [Tue, 24 Dec 2019 03:47:15 +0000 (03:47 +0000)]
Merge branch 'wip/oholy/placesview-default-location' into 'master'

placesview: Always open default location after mounting

See merge request GNOME/gtk!1263

6 years agogtk-demo: Fix font explore initial state
Matthias Clasen [Tue, 24 Dec 2019 03:35:44 +0000 (22:35 -0500)]
gtk-demo: Fix font explore initial state

6 years agogtk-demo: Fix a crash in the font explorer demo
Matthias Clasen [Tue, 24 Dec 2019 03:33:02 +0000 (22:33 -0500)]
gtk-demo: Fix a crash in the font explorer demo

gtk_widget_add_controller is transfer-full.

6 years agogtk-demo: Cosmetic fixes to the dnd demo
Matthias Clasen [Tue, 24 Dec 2019 03:14:52 +0000 (22:14 -0500)]
gtk-demo: Cosmetic fixes to the dnd demo

6 years agogtk-demo: Cosmetic fixes to the assistant demo
Matthias Clasen [Tue, 24 Dec 2019 02:58:45 +0000 (21:58 -0500)]
gtk-demo: Cosmetic fixes to the assistant demo

6 years agogtk-demo: Fix the application demo
Matthias Clasen [Tue, 24 Dec 2019 02:44:56 +0000 (21:44 -0500)]
gtk-demo: Fix the application demo

This was broken in d223752c55be49, when the
support for internal children was removed
from GtkInfoBar.

6 years agoMerge branch 'validate-templates' into 'master'
Matthias Clasen [Mon, 23 Dec 2019 23:40:43 +0000 (23:40 +0000)]
Merge branch 'validate-templates' into 'master'

builder-tool: Validate templates again

See merge request GNOME/gtk!1265

6 years agobuilder-tool: Validate templates again
Matthias Clasen [Mon, 23 Dec 2019 22:59:15 +0000 (17:59 -0500)]
builder-tool: Validate templates again

This wasn't working because it was expecting
some no-longer-existing error message.

6 years agocolorchooser: Document actions
Matthias Clasen [Mon, 23 Dec 2019 18:36:32 +0000 (13:36 -0500)]
colorchooser: Document actions

This is mainly a trial balloon for gtk-doc
support for this syntax.

See https://gitlab.gnome.org/GNOME/gtk-doc/merge_requests/30

6 years agoMerge branch 'inspector-advice' into 'master'
Matthias Clasen [Sun, 22 Dec 2019 19:02:37 +0000 (19:02 +0000)]
Merge branch 'inspector-advice' into 'master'

inspector: Give better advice

See merge request GNOME/gtk!1264

6 years agoinspector: Give better advice
Matthias Clasen [Sat, 21 Dec 2019 18:25:57 +0000 (13:25 -0500)]
inspector: Give better advice

Provide the meson syntax for building a debug-enabled GLib.

6 years agoMerge branch 'ci-msys2-newer-pango' into 'master'
Christoph Reiter [Thu, 19 Dec 2019 17:59:40 +0000 (17:59 +0000)]
Merge branch 'ci-msys2-newer-pango' into 'master'

CI: Install a newer MSYS2 pango package; Don't allow failures again

Closes #2243

See merge request GNOME/gtk!1258

6 years agoplacesview: Always open default location after mounting
Ondrej Holy [Thu, 19 Dec 2019 15:49:07 +0000 (16:49 +0100)]
placesview: Always open default location after mounting

The default location (obtained over g_mount_get_default_location) is
opened after mounting volume, or when opening mounts from sidebar, but
not after mounting over "Connect to Server". Let's unify the behavior
and always open the default location.

https://gitlab.gnome.org/GNOME/nautilus/issues/1319

6 years agoMerge branch 'fix-gtkgesturerotate-potential-leak' into 'master'
Matthias Clasen [Thu, 19 Dec 2019 03:42:31 +0000 (03:42 +0000)]
Merge branch 'fix-gtkgesturerotate-potential-leak' into 'master'

gtkgesturerotate: Fix a memory leak

See merge request GNOME/gtk!1260

6 years agogtkgesturerotate: Fix a memory leak
Yariv Barkan [Wed, 18 Dec 2019 21:03:19 +0000 (23:03 +0200)]
gtkgesturerotate: Fix a memory leak

On touchpads gtk_gesture_get_sequences() was called without a
corresponding g_list_free(). The same was true for touchscreens
if due to some reason only a single sequence was found.

6 years agoCI: Install a newer MSYS2 pango package; Don't allow failures again
Christoph Reiter [Tue, 17 Dec 2019 19:23:28 +0000 (20:23 +0100)]
CI: Install a newer MSYS2 pango package; Don't allow failures again

gtk master requires a newer pango than msys2 has, so install our own copy on top.

See #2243

6 years agoFix various new mingw compiler warnings
Christoph Reiter [Tue, 17 Dec 2019 19:46:36 +0000 (20:46 +0100)]
Fix various new mingw compiler warnings

These are the result of us missing CI for some time now and
MSYS2 having a newer GCC now I guess.

6 years agotree-selection: Drop GtkTreeSelectionPrivate
Peter Bloomfield [Tue, 17 Dec 2019 01:54:23 +0000 (20:54 -0500)]
tree-selection: Drop GtkTreeSelectionPrivate

GtkTreeSelection is now private (since commit 79940b32),
so it doesn't need an instance-private structure.

6 years agoMerge branch 'ci-update-at-spi' into 'master'
Emmanuele Bassi [Mon, 16 Dec 2019 19:26:37 +0000 (19:26 +0000)]
Merge branch 'ci-update-at-spi' into 'master'

Update CI image

Closes #2313

See merge request GNOME/gtk!1254

6 years agoci: Use latest CI image
Emmanuele Bassi [Mon, 16 Dec 2019 19:01:03 +0000 (19:01 +0000)]
ci: Use latest CI image

6 years agoci: Add libXtst-devel to the Docker image
Emmanuele Bassi [Mon, 16 Dec 2019 19:00:02 +0000 (19:00 +0000)]
ci: Add libXtst-devel to the Docker image

New requirement from at-spi2-core.

Fixes: #2313
6 years agoMerge branch 'fix.nonunix.builds' into 'master'
Matthias Clasen [Mon, 16 Dec 2019 17:38:56 +0000 (17:38 +0000)]
Merge branch 'fix.nonunix.builds' into 'master'

Fix non-portal (UNIX) builds

See merge request GNOME/gtk!1252

6 years agotests/: Revert bbb56d8 for non-UNIX
Chun-wei Fan [Mon, 16 Dec 2019 10:03:24 +0000 (18:03 +0800)]
tests/: Revert bbb56d8 for non-UNIX

The portal bits are only supported on *nix, so use the old code on
non-*nix.

6 years agogdk: Build portal bits on *nix only
Chun-wei Fan [Sat, 14 Dec 2019 03:13:21 +0000 (11:13 +0800)]
gdk: Build portal bits on *nix only

The newly-added portal items are supported on *nix only, so only build
them on *nix.

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 16 Dec 2019 16:48:01 +0000 (16:48 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

file transfer: Fix build on non-Linux

See merge request GNOME/gtk!1253

6 years agofile transfer: Fix build on non-Linux
Matthias Clasen [Mon, 16 Dec 2019 16:28:21 +0000 (11:28 -0500)]
file transfer: Fix build on non-Linux

O_PATH and O_CLOEXEC are not universally available.

6 years agotree-view: Drop GtkTreeViewPrivate
Peter Bloomfield [Wed, 11 Dec 2019 02:01:18 +0000 (21:01 -0500)]
tree-view: Drop GtkTreeViewPrivate

GtkTreeView is now private, so it doesn't need an instance-private
structure.

6 years agopopover: Remove unneeded vfunc
Benjamin Otte [Tue, 15 Oct 2019 01:23:05 +0000 (03:23 +0200)]
popover: Remove unneeded vfunc

The vfunc is identical to the GtkWidget implementation it replaces. So
just keep using that one.

6 years agotreelistmodel: Improve docs
Benjamin Otte [Fri, 13 Dec 2019 06:45:57 +0000 (07:45 +0100)]
treelistmodel: Improve docs

- Move into its own section
- Split GtkTreeListRow into its own document

Trees are weird with listmodels and they deserve their own treatment,
they shouldn't be mushed up with the rest of the list machinery.

6 years agoeventcontrollermotion: Add getters for the properties
Benjamin Otte [Sun, 15 Dec 2019 19:25:42 +0000 (20:25 +0100)]
eventcontrollermotion: Add getters for the properties

... and use them.

Also, rename them from is/contains-pointer-focus to is/contains-pointer,
that's clear enough and not too long.

Finally, adapt the semantics of contains-pointer to mirror
GtkEventControllerKey::contains-focus. If is-pointer is set, so is
contains-pointer, they are not exclusive.
Which is what all users of this property wanted, too.

6 years agoMerge branch 'fix-x11-cursor-crash' into 'master'
Matthias Clasen [Fri, 13 Dec 2019 20:02:43 +0000 (20:02 +0000)]
Merge branch 'fix-x11-cursor-crash' into 'master'

x11: Only update cursors if we have any

Closes #2308

See merge request GNOME/gtk!1249

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 13 Dec 2019 19:58:53 +0000 (19:58 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

some builder-tool improvements

See merge request GNOME/gtk!1248

6 years agox11: Only update cursors if we have any
Matthias Clasen [Fri, 13 Dec 2019 19:46:00 +0000 (14:46 -0500)]
x11: Only update cursors if we have any

We were accessing an on-demand created hash table
without checking if it had been created first.

Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/2308
6 years agobuilder: Improve type name mangling
Matthias Clasen [Fri, 13 Dec 2019 18:35:57 +0000 (13:35 -0500)]
builder: Improve type name mangling

When looking for the get_type function for GThemedIcon,
try both g_themed_icon_get_type and gthemed_icon_get_type
The former is what gio has, the latter is still supported
to avoid breaking gweather_location_get_type.

Update tests to cover this new case.

6 years agobuilder-tool: Don't try to find default boxed values
Matthias Clasen [Fri, 13 Dec 2019 18:11:59 +0000 (13:11 -0500)]
builder-tool: Don't try to find default boxed values

This doesn't work and yields an ugly, unnecessary
error message.

6 years agogtk-builder-tool: More helpful error messages
Matthias Clasen [Fri, 13 Dec 2019 07:05:11 +0000 (02:05 -0500)]
gtk-builder-tool: More helpful error messages

Include line numbers in the error messages we
report, so it is possible to find the error.

6 years agoprinting: Fill device URI for non-Avahi printers
Marek Kasik [Fri, 13 Dec 2019 16:52:21 +0000 (17:52 +0100)]
printing: Fill device URI for non-Avahi printers

Device URI was not filled for non-Avahi printers by my previous commit.
I've added it back. It was a mistake during rebasing of the patch
to current master.

6 years agoMerge branch '1509-don-t-show-Rejecting-Jobs-when-we-don-t-know' into 'master'
Matthias Clasen [Fri, 13 Dec 2019 16:13:17 +0000 (16:13 +0000)]
Merge branch '1509-don-t-show-Rejecting-Jobs-when-we-don-t-know' into 'master'

Fix getting info for standalone IPP printers

Closes #1509

See merge request GNOME/gtk!1247

6 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 13 Dec 2019 11:24:36 +0000 (12:24 +0100)]
Updated Spanish translation

6 years agogtk-demo: Some touchups
Matthias Clasen [Thu, 12 Dec 2019 23:46:53 +0000 (18:46 -0500)]
gtk-demo: Some touchups

Make the theming style classes demo look a bit less odd.

6 years agoRun gtk-builder-tool simplify over our ui files
Matthias Clasen [Thu, 12 Dec 2019 23:37:39 +0000 (18:37 -0500)]
Run gtk-builder-tool simplify over our ui files

This was done mainly to verify that the tool does not
make any unwarranted changes. The changes included here
are all cosmetic.

6 years agoAdd GtkNative to the docs
Matthias Clasen [Thu, 12 Dec 2019 23:21:16 +0000 (18:21 -0500)]
Add GtkNative to the docs

It was not included in the generated docs.

6 years agoFix up GtkBuilderScope docs
Matthias Clasen [Thu, 12 Dec 2019 23:18:49 +0000 (18:18 -0500)]
Fix up GtkBuilderScope docs

They were not hooked into the document generation.

6 years agobuilder: Another small docs fix
Matthias Clasen [Thu, 12 Dec 2019 22:58:42 +0000 (17:58 -0500)]
builder: Another small docs fix

6 years agodocs: Ignore more private headers
Matthias Clasen [Thu, 12 Dec 2019 22:58:23 +0000 (17:58 -0500)]
docs: Ignore more private headers

6 years agodocs: Remove symbols that no longer exist
Matthias Clasen [Thu, 12 Dec 2019 22:34:41 +0000 (17:34 -0500)]
docs: Remove symbols that no longer exist

6 years agoMerge branch 'issue-179' into 'master'
Matthias Clasen [Thu, 12 Dec 2019 22:53:36 +0000 (22:53 +0000)]
Merge branch 'issue-179' into 'master'

Use a separate gesture for middle clicks on PlaceView rows

Closes #179

See merge request GNOME/gtk!1199

6 years agotextbuffer: Minor doc fixes
Matthias Clasen [Thu, 12 Dec 2019 22:31:13 +0000 (17:31 -0500)]
textbuffer: Minor doc fixes

Fix parameter name mismatches.

6 years agobuilder: Minor doc fixes
Matthias Clasen [Thu, 12 Dec 2019 22:30:36 +0000 (17:30 -0500)]
builder: Minor doc fixes

Fix parameter name mismatches.

6 years agoMerge branch 'wip/otte/builder' into 'master'
Matthias Clasen [Thu, 12 Dec 2019 20:36:08 +0000 (20:36 +0000)]
Merge branch 'wip/otte/builder' into 'master'

More builder work

Closes #2267

See merge request GNOME/gtk!1230

6 years agoMerge branch 'file-transfer' into 'master'
Matthias Clasen [Thu, 12 Dec 2019 19:33:02 +0000 (19:33 +0000)]
Merge branch 'file-transfer' into 'master'

clipboard: file transfer portal support

See merge request GNOME/gtk!1244

6 years agoclipboard: file transfer portal support
Matthias Clasen [Mon, 3 Sep 2018 22:36:56 +0000 (18:36 -0400)]
clipboard: file transfer portal support

Implement file-list <-> application/vnd.flatpak.file-list
serialization by talking to the file transfer portal.

See https://github.com/flatpak/xdg-desktop-portal/pull/222

6 years agoMerge branch 'master-gitlab-HC-tooltip' into 'master'
Matthias Clasen [Thu, 12 Dec 2019 19:18:06 +0000 (19:18 +0000)]
Merge branch 'master-gitlab-HC-tooltip' into 'master'

Set HighContrast tooltip back to black text over white background

See merge request GNOME/gtk!1242

6 years agogtk-demo: Don't include "gtk.h"
Benjamin Otte [Wed, 11 Dec 2019 19:00:46 +0000 (20:00 +0100)]
gtk-demo: Don't include "gtk.h"

6 years agotests: Set an existing font in testfontchooser
Benjamin Otte [Thu, 12 Dec 2019 02:13:22 +0000 (03:13 +0100)]
tests: Set an existing font in testfontchooser

6 years agobuilder: Turn last dlsym() function into a scope API
Benjamin Otte [Tue, 3 Dec 2019 04:41:42 +0000 (05:41 +0100)]
builder: Turn last dlsym() function into a scope API

Looking up a get_type function by its name is now also part of
GtkBuilderScope.

6 years agobuilder: Add GtkBuilderScope
Benjamin Otte [Sat, 30 Nov 2019 00:17:10 +0000 (01:17 +0100)]
builder: Add GtkBuilderScope

GtkBuilderScope is an interface that provides the scope that a builder
instance operates in.
It creates closures and resolves types. Language bindings are meant to
use this interface to customize the behavior of builder files, in
particular when instantiating templates.

A default implementation for C is provided via GtkBuilderCScope (to keep
with the awkward naming that glib uses for closures). It is derivable on
purpose so that languages or extensions that extend C can use it.

The reftest code in fact does derive GtkBuilderCScope for its own scope
implementation that implements looking up symbols in modules.

gtk-widget-factory was updated to use the new GtkBuilderCScope to add
its custom callback symbols.
So it does it different from gtk-demo, which uses the normal way of
exporting symbols for dlsym() and thereby makes the 2 demos test the 2
ways GtkBuilder uses for looking up symbols.

6 years agobuilder: Add gtk_builder_set_current_object()
Benjamin Otte [Thu, 28 Nov 2019 03:01:19 +0000 (04:01 +0100)]
builder: Add gtk_builder_set_current_object()

Use it as the default object for expression binds and when connecting
signals. It is intended to work kind of as the "this" object while
parsing. In fact, the term "current object" was stolen from the Java
docs and various C++ tutorials for the this pointer.

Set the current object in gtk_widget_init_template() and
GtkListItemBuilder.

This more-or-less replaces the object passed to
gtk_builder_connect_signals() in GTK3.

6 years agobuilder: Add gtk_builder_lookup_object()
Benjamin Otte [Mon, 25 Nov 2019 06:40:28 +0000 (07:40 +0100)]
builder: Add gtk_builder_lookup_object()

... and use it. This function looks up an object like
gtk_builder_get_object() but generates an error on failure.

Unlike the evil function _gtk_builder_lookup_object() which also
generates an error but hides it for later lookup.

Use this to avoid continuing applying properties when an error was
encountered.

6 years agotypes: Move GTK_INVALID_LIST_POSITION here
Benjamin Otte [Thu, 12 Dec 2019 17:20:29 +0000 (18:20 +0100)]
types: Move GTK_INVALID_LIST_POSITION here

I have no idea where it should go really - maybe glib?

It certainly shouldn't require everybody including selectionmodel code
just to get at this value.

6 years agoMerge branch 'terminal' into 'master'
Matthias Clasen [Thu, 12 Dec 2019 17:57:05 +0000 (17:57 +0000)]
Merge branch 'terminal' into 'master'

imwayland: Suppport terminal purpose

See merge request GNOME/gtk!1243

6 years agoprinting: Fix getting info for standalone IPP printers
Marek Kasik [Thu, 12 Dec 2019 15:56:37 +0000 (16:56 +0100)]
printing: Fix getting info for standalone IPP printers

Create printer name from name of the advertised service
for standalone IPP printers as opposed to CUPS printers
advertised via Avahi which get name from their
resource path.
This is similar to what cups-filters does.

Pass GtkPrinter class to request for printer info
so that it does not need to be searched for
(such search could fail for standalone IPP printers).

https://gitlab.gnome.org/GNOME/gtk/issues/1509

6 years agoprinting: Don't show Rejecting Jobs when we don't know
Marek Kasik [Fri, 25 Jan 2019 15:41:24 +0000 (16:41 +0100)]
printing: Don't show Rejecting Jobs when we don't know

Set reasonable default values for printers discovered
by Avahi which do not have 'printer-type' attribute.
This is the case for network printers which were not
published by CUPS.

Related to the issue #1509.

6 years agoimwayland: Suppport terminal purpose
Dorota Czaplejewicz [Thu, 12 Dec 2019 14:37:51 +0000 (14:37 +0000)]
imwayland: Suppport terminal purpose

6 years agoSet HighContrast tooltip back to black text over white background
Jonathan Michalon [Thu, 12 Dec 2019 08:51:40 +0000 (09:51 +0100)]
Set HighContrast tooltip back to black text over white background

8abdbfee1642332688f030f53d22b995a21ce814 pulled Adwaita tooltip selectors,
but in the meantime the colors were also set to Adwaita's. Push back the same
behaviour as before because it's better for visually-impaired users.

6 years agoMerge branch 'honor-hotspot-gtk4' into 'master'
Christoph Reiter [Wed, 11 Dec 2019 12:59:23 +0000 (12:59 +0000)]
Merge branch 'honor-hotspot-gtk4' into 'master'

gdk/x11: Honor hotspot during drag cancel animation

See merge request GNOME/gtk!1236

6 years agoMerge branch 'vulkan-no-layered-windows' into 'master'
Chun-wei Fan [Wed, 11 Dec 2019 06:24:49 +0000 (06:24 +0000)]
Merge branch 'vulkan-no-layered-windows' into 'master'

Win32: Do not enable layered windows when using Vulkan

See merge request GNOME/gtk!1217

6 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 10 Dec 2019 03:05:09 +0000 (03:05 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

widget factory: Fix more grid layout fallout

See merge request GNOME/gtk!1237

6 years agowidget factory: Fix more grid layout fallout
Matthias Clasen [Tue, 10 Dec 2019 02:29:03 +0000 (21:29 -0500)]
widget factory: Fix more grid layout fallout

6 years agoa11y: We can peek here
Benjamin Otte [Sun, 8 Dec 2019 05:26:58 +0000 (06:26 +0100)]
a11y: We can peek here

Avoids instantiating a11y objects when we don't need to.

6 years agotreeview: Don't create a cyclic reference
Benjamin Otte [Sun, 8 Dec 2019 05:26:26 +0000 (06:26 +0100)]
treeview: Don't create a cyclic reference

TreeRowReference refs the proxy object, so don't use proxies.

6 years agolabel: Compute label baselines correctly
Benjamin Otte [Sun, 8 Dec 2019 04:32:35 +0000 (05:32 +0100)]
label: Compute label baselines correctly

When we were switching smallest and widest, we were not switching the
baselines.

6 years agogdk/x11: Honor hotspot during drag cancel animation
Robert Mader [Mon, 9 Dec 2019 00:45:27 +0000 (01:45 +0100)]
gdk/x11: Honor hotspot during drag cancel animation

Otherwise the icon "jumps" to the cursor position with its top left when
the animation starts.
This is especially visible if the dragged item is big, like when dragging
mails in Thunderbird.

6 years agoAdd GtkTreeListRow type to the docs
Matthias Clasen [Sun, 8 Dec 2019 22:58:09 +0000 (17:58 -0500)]
Add GtkTreeListRow type to the docs

6 years agoAdd missing listmodel and selection types to the docs
Matthias Clasen [Sun, 8 Dec 2019 18:48:52 +0000 (13:48 -0500)]
Add missing listmodel and selection types to the docs

6 years agotree list model: Add a missing annotation
Matthias Clasen [Sun, 8 Dec 2019 03:39:35 +0000 (22:39 -0500)]
tree list model: Add a missing annotation

The GtkTreeListModelCreateModelFunc returns
a new reference.

6 years agoinspector: Avoid critical warnings
Matthias Clasen [Sun, 8 Dec 2019 00:39:02 +0000 (19:39 -0500)]
inspector: Avoid critical warnings

We were still using this but it's not defined in the UI xml.

Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/2295
6 years agoMerge branch 'inspector-display' into 'master'
Matthias Clasen [Sat, 7 Dec 2019 23:20:51 +0000 (23:20 +0000)]
Merge branch 'inspector-display' into 'master'

Inspector display

See merge request GNOME/gtk!1234

6 years agoinspector: Make the css tree respect inspected display
Matthias Clasen [Sat, 7 Dec 2019 17:42:37 +0000 (12:42 -0500)]
inspector: Make the css tree respect inspected display

The display is used here to force reparsing the theme
on the right settings object.

6 years agoinspector: Make logs respect inspected display
Matthias Clasen [Sat, 7 Dec 2019 17:31:10 +0000 (12:31 -0500)]
inspector: Make logs respect inspected display

6 years agoinspector: Make inspect button use inspected display
Matthias Clasen [Sat, 7 Dec 2019 17:30:40 +0000 (12:30 -0500)]
inspector: Make inspect button use inspected display

This may not matter, but just for cleanliness.

6 years agoinspector: Make general respect inspected display
Matthias Clasen [Sat, 7 Dec 2019 17:30:15 +0000 (12:30 -0500)]
inspector: Make general respect inspected display